package com.pdg.android.guessmynumber;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class AboutActivity  extends Activity{
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.about);
        TextView tv = (TextView)findViewById(R.id.textView2);
        tv.setText(String.format(getString(R.string.about_text),
        		getString(R.string.app_author),
        		getString(R.string.pdg_catalog)
        		));
    }
	public void goBackButtonPressed(View view){
        Intent myIntent = new Intent(view.getContext(), MainMenuActivity.class);
        startActivityForResult(myIntent, 0);
	}

}
